﻿using System;

/// <summary>
/// 数据监听器
/// </summary>
public class RInputModuleListener
{

    /// <summary>
    /// 事件|状态变化
    /// </summary>
    public event Action<KeyEvent> OnStateChanged;


    public void Invoke(KeyEvent keyEvent)
    {
        OnStateChanged?.Invoke(keyEvent);
    }

    public RInputModuleListener() { }
}